package com.rich.dmr.utils;
public final class Log {
    private static final String LOG_TAG = "DmrApp/";
    private static final boolean _DEBUG = true;
    public static final boolean ENG_DEBUG = true;
    public static final boolean FORCE_DEBUG =true;

    public static final int VERBOSE = android.util.Log.VERBOSE;
    public static final int DEBUG = android.util.Log.DEBUG;
    public static final int INFO = android.util.Log.INFO;
    public static final int WARN = android.util.Log.WARN;
    public static final int ERROR = android.util.Log.ERROR;
    public static final int ASSERT = android.util.Log.ASSERT;

    public static boolean isLoggable(String TAG, int level) {
        android.util.Log.isLoggable(TAG, level);
        return true;
    }

    public static void v(String tag, String msg) {
        if (ENG_DEBUG || FORCE_DEBUG) {
            android.util.Log.v(LOG_TAG + tag, msg);
        }
    }

    public static void v(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.v(LOG_TAG + tag, msg, t);
        }
    }

    public static void d(String tag, String msg) {
        if (ENG_DEBUG || FORCE_DEBUG) {
            android.util.Log.d(LOG_TAG + tag, msg);
        }
    }

    public static void d(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.d(LOG_TAG + tag, msg, t);
        }
    }

    public static void i(String tag, String msg) {
        if (ENG_DEBUG || FORCE_DEBUG) {
            android.util.Log.i(LOG_TAG + tag, msg);
        }
    }

    public static void i(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.i(LOG_TAG + tag, msg, t);
        }
    }

    public static void w(String tag, String msg) {
        if (_DEBUG) {
            android.util.Log.w(LOG_TAG + tag, msg);
        }
    }

    public static void w(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.w(LOG_TAG + tag, msg, t);
        }
    }

    public static void e(String tag, String msg) {
        if (_DEBUG) {
            android.util.Log.e(LOG_TAG + tag, msg);
        }
    }

    public static void e(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.e(LOG_TAG + tag, msg, t);
        }
    }

    public static void wtf(String tag, String msg) {
        if (_DEBUG) {
            android.util.Log.wtf(LOG_TAG + tag, msg);
        }
    }

    public static void wtf(String tag, String msg, Throwable t) {
        if (_DEBUG) {
            android.util.Log.wtf(LOG_TAG + tag, msg, t);
        }
    }
}
